﻿namespace Common.Contract.SystemConfig.Record
{
    using System;
    using System.Runtime.Serialization;

    [DataContract]
    public class DictionaryRecord
    {
        [DataMember]
        public Guid ApplicationKey { get; set; }

        [DataMember(IsRequired = true)]
        public string Key { get; set; }

        [DataMember(IsRequired = true)]
        public string Value { get; set; }

        [DataMember(IsRequired = true)]
        public DateTime? CreationDate { get; set; }
         
        [DataMember(IsRequired = false)]
        public DateTime? UpdateDate { get; set; }
    }
}
